use diesel::prelude::*;
use diesel::sqlite::SqliteConnection;

pub fn establish_connection() -> SqliteConnection {
    SqliteConnection::establish("db.sqlite")
        .expect(&format!("Error connecting to {}", "db.sqlite"))
}